let pages: Array<string> = [];

switch (process.env.WORK_TYPE) {
  case "weapp":
    pages = [
      // 首页
      "pages/home/index",
      "pages/test/index",
    ];
    break;
  case "h5":
    pages = ["pages/home/index", "pages/test/index"];
    break;
  default:
    break;
}

export default {
  pages,
  plugins: {
    chatGroupPlugin: {
      version: "1.0.2",
      provider: "wxaae6519cee98d824",
    },
  },
  window: {
    backgroundTextStyle: "light",
    navigationBarBackgroundColor: "#fff",
    navigationBarTitleText: "微拍联盟",
    navigationBarTextStyle: "black",
    navigationStyle: "custom",
  },
  tabBar: {
    custom: true,
    color: "#666666",
    selectedColor: "#be192e",
    borderStyle: "white",
    list: [
      {
        text: "集市",
        pagePath: "pages/index/index",
      },
      {
        text: "直播",
        pagePath: "pages/live/index",
      },
      {
        text: "我的",
        pagePath: "pages/mine/index",
      },
      {
        text: "发圈",
        pagePath: "pages/lvup-and-material/index",
      },
    ],
  },
};
